package manage.vo;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by zwr on 16/5/23.
 */
public class PasswordModel {
    @NotEmpty(message = "请输入原密码")
    private String oldPwd;
    @NotEmpty(message = "请输入新密码")
    private String newPwd;
    @NotEmpty(message = "请确认新密码")
    private String rePwd;

    public String getOldPwd() {
        return oldPwd;
    }

    public void setOldPwd(String oldPwd) {
        this.oldPwd = oldPwd;
    }

    public String getNewPwd() {
        return newPwd;
    }

    public void setNewPwd(String newPwd) {
        this.newPwd = newPwd;
    }

    public String getRePwd() {
        return rePwd;
    }

    public void setRePwd(String rePwd) {
        this.rePwd = rePwd;
    }
}
